package 线程;

public class test1 {
    public static void main(String[] args) {
        person p1 = new person();
        person p2 = new person();
        p1.setName("线程1");
        p2.setName("线程2");
        p1.start();
        p2.start();
    }
}
